-- GENERATED SPELL FOR [Skyguard Windcharger] --


function spell0_23257(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23257', 5282, 1)
end

function Sorts_23257(pUnit, Event)
local choix_sorts_23257 = math.random(0, 0)
if choix_sorts_23257 == 0 then
pUnit:RegisterEvent('spell0_23257', 1, 1)
end
end

function mob23257_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23257', math.random(1500, 3000), 1)
end

function mob23257_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23257_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23257_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23257, 1, 'mob23257_Action')
RegisterUnitEvent(23257, 2, 'mob23257_Leave')
RegisterUnitEvent(23257, 3, 'mob23257_Kill')
RegisterUnitEvent(23257, 4, 'mob23257_Die')
